package com.example.simple

import android.annotation.SuppressLint
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import com.example.app.base.BaseFragment
import com.example.app.base.BaseSupportFragment
import com.example.app.databinding.AppStateViewEmptyBinding

/**
 * 普通页面模板
 *
 * 常规 启动:start 关闭：pop  关闭到栈：popTo 启动并关闭到startWithPopTo
 * 具体方法可以查看 SupportFragment 提供的相关方法
 */
@SuppressLint("SetTextI18n")
class SimpleTestF : BaseSupportFragment<AppStateViewEmptyBinding>() {
    override fun getLogTag() = "SimpleTestF"
    override fun createViewBinding(inflater: LayoutInflater) = AppStateViewEmptyBinding.inflate(inflater)

    companion object {
        fun startF(fragment: BaseFragment): SimpleTestF {
            val f = SimpleTestF()
            fragment.start(f)
            return f
        }
    }


    override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
        super.onViewCreated(view, savedInstanceState)
        mViewBinding?.apply {

        }
    }


    override fun lazyInit() {
        super.lazyInit()
        mViewBinding?.apply {


        }
    }

}